Integrand size = 25, antiderivative size = 32 \[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{3/2}} \, dx=\frac {\tan (e+f x)}{(a+b) f \sqrt {a+b+b \tan ^2(e+f x)}} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {4231, 197} \[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{3/2}} \, dx=\frac {\tan (e+f x)}{f (a+b) \sqrt {a+b \tan ^2(e+f x)+b}} \]
[In]
[Out]
Rule 197
Rule 4231
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {1}{\left (a+b+b x^2\right )^{3/2}} \, dx,x,\tan (e+f x)\right )}{f} \\ & = \frac {\tan (e+f x)}{(a+b) f \sqrt {a+b+b \tan ^2(e+f x)}} \\ \end{align*}
Time = 0.78 (sec) , antiderivative size = 57, normalized size of antiderivative = 1.78 \[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{3/2}} \, dx=\frac {(a+2 b+a \cos (2 (e+f x))) \sec ^2(e+f x) \tan (e+f x)}{2 (a+b) f \left (a+b \sec ^2(e+f x)\right )^{3/2}} \]
[In]
[Out]
Time = 1.88 (sec) , antiderivative size = 49, normalized size of antiderivative = 1.53
method | result | size |
default | \(\frac {a \tan \left (f x +e \right )+b \tan \left (f x +e \right ) \sec \left (f x +e \right )^{2}}{f \left (a +b \right ) \left (a +b \sec \left (f x +e \right )^{2}\right )^{\frac {3}{2}}}\) | \(49\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 65 vs. \(2 (30) = 60\).
Time = 0.26 (sec) , antiderivative size = 65, normalized size of antiderivative = 2.03 \[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{3/2}} \, dx=\frac {\sqrt {\frac {a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}} \cos \left (f x + e\right ) \sin \left (f x + e\right )}{{\left (a^{2} + a b\right )} f \cos \left (f x + e\right )^{2} + {\left (a b + b^{2}\right )} f} \]
[In]
[Out]
\[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{3/2}} \, dx=\int \frac {\sec ^{2}{\left (e + f x \right )}}{\left (a + b \sec ^{2}{\left (e + f x \right )}\right )^{\frac {3}{2}}}\, dx \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.94 \[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{3/2}} \, dx=\frac {\tan \left (f x + e\right )}{\sqrt {b \tan \left (f x + e\right )^{2} + a + b} {\left (a + b\right )} f} \]
[In]
[Out]
\[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{3/2}} \, dx=\int { \frac {\sec \left (f x + e\right )^{2}}{{\left (b \sec \left (f x + e\right )^{2} + a\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Time = 20.52 (sec) , antiderivative size = 199, normalized size of antiderivative = 6.22 \[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{3/2}} \, dx=\frac {\sqrt {\frac {a+2\,b+a\,\cos \left (2\,e+2\,f\,x\right )}{\cos \left (2\,e+2\,f\,x\right )+1}}\,\left (5\,a\,\sin \left (2\,e+2\,f\,x\right )+4\,a\,\sin \left (4\,e+4\,f\,x\right )+a\,\sin \left (6\,e+6\,f\,x\right )+8\,b\,\sin \left (2\,e+2\,f\,x\right )+4\,b\,\sin \left (4\,e+4\,f\,x\right )\right )}{f\,\left (a+b\right )\,\left (24\,a\,b+10\,a^2+16\,b^2+15\,a^2\,\cos \left (2\,e+2\,f\,x\right )+6\,a^2\,\cos \left (4\,e+4\,f\,x\right )+a^2\,\cos \left (6\,e+6\,f\,x\right )+16\,b^2\,\cos \left (2\,e+2\,f\,x\right )+32\,a\,b\,\cos \left (2\,e+2\,f\,x\right )+8\,a\,b\,\cos \left (4\,e+4\,f\,x\right )\right )} \]
[In]
[Out]